<%-- 
    Document   : listHealthSpringContact
    Created on : Aug 30, 2013, 4:36:06 PM
    Author     : yogesh
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../common/script.jsp" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <%@include file="../common/title.jsp" %>
    </head>
    <body>
        <%@include file="../common/header.jsp" %>
        <%@include file="../common/menu.jsp" %>
        <div class="in_02">
            <%@include file="../common/message.jsp" %>
            <br/> &nbsp;&nbsp;&nbsp;
            <span style="font-size: 15px; font-weight: bold;"><a href="../admin/addHealthSpringContact.htm">Add Health Spring Contact</a></span>
            <br/><br/>
            &nbsp;&nbsp;&nbsp;&nbsp;<strong style="margin:0 440px 0 0"><spring:message code="menu.listHealthSpringContact"/></strong>
            <table border="1px" class="data_table">
                <tr class="header">
                    <th><spring:message code="name"/></th>
                    <th><spring:message code="contact1"/></th>
                    <th><spring:message code="contact2"/></th>
                    <th><spring:message code="email"/></th>
                    <th><spring:message code="team"/></th>
                    <th><spring:message code="designationName"/></th>
                    <th><spring:message code="location"/></th>
<!--                    by santosh-->
                    <th><spring:message code="kinName"/></th>
                    <th><spring:message code="kinPhone"/></th>
                    <th><spring:message code="kinAddress"/></th>
                    <th width="10"></th>
                </tr>
                <c:forEach items="${healthSpringContactList}" var="userItem">
                    <tr>
                        <td align="center"><c:out value="${userItem.name}"/></td>
                        <td align="center"><c:out value="${userItem.contact1}"/></td>
                        <td align="center"><c:out value="${userItem.contact2}"/></td>
                        <td align="center"><c:out value="${userItem.email}"/></td>
                        <td align="center"><c:out value="${userItem.category.description}"/></td>
                        <td align="center"><c:out value="${userItem.designation.designationName}"/></td>
                        <td align="center"><c:out value="${userItem.healthSpringCenter.centerName}"/></td>
                        
                        <td align="center"><c:out value="${userItem.kinName}"/></td>
                        <td align="center"><c:out value="${userItem.kinPhone}"/></td>
                        <td align="center"><c:out value="${userItem.kinAddress}"/></td>
                        
                        <td><a href="healthSpringContactEdit.htm?healthSpringContactId=<c:out value="${userItem.healthSpringContactId}"/>"><img src="../images/edit.png"  width="20" height="20" style="border: none" alt="Edit" title="Edit"/></a></td>
                    </tr>
                </c:forEach>
            </table>
            &nbsp;&nbsp;&nbsp;<c:out value="${fn:length(healthSpringContactList)}"/> <spring:message code="rowsFound"/>
            <br/><br/> &nbsp;&nbsp;&nbsp;
            <span style="font-size: 15px; font-weight: bold;"><a href="../admin/addHealthSpringContact.htm">Add Health Spring Contact</a></span>    
        </div>
    </body>
</html>
